﻿@model VisaApp.Models.QuocGiaModel
@{ VisaApp.Helper.StringHelpers nameurl = new VisaApp.Helper.StringHelpers();}
@{
    ViewBag.Title = Model.MetaTitle ;
    ViewBag.Description = Model.metaDescription;
    ViewBag.Keywords = Model.Keywork;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&amp;region=vn&amp;language=vn"></script>

<script type="text/javascript">

    $(document).ready(function () {
        initialize();
    });

    function initialize() {
        var mapOptions = {
            zoom: 4,
            center: new google.maps.LatLng(@Model.chaulucMode.clat, @Model.chaulucMode.clong),
            panControl: true,
            zoomControl: true,
            scaleControl: true,
            mapTypeId: google.maps.MapTypeId.ROADMAP
        }
        var map = new google.maps.Map(document.getElementById("map_canvas"),
        mapOptions);
    }


</script>

<div class="ct-dt-nav">
    <a href="">
        <img alt="" src="/Content/images/souc.png"></a> 
        <a href="/">Trang chủ</a>
    <span>&gt;</span> <a href="/vi-sa/khu-vuc/@Model.regioncode/@nameurl.RemoveSign4VietnameseString(Model.chaulucMode.Name)"><b>@Model.chaulucMode.Name</b></a>
     <span>&gt;</span> <a href="/vi-sa/khu-vuc-@nameurl.RemoveSign4VietnameseString(Model.chaulucMode.Name)/quoc-gia-@@nameurl.RemoveSign4VietnameseString(Model.Name)/@Model.regioncode/@Model.Id"><b>@Model.Name</b></a>
</div>
<div class="ContentHome">
    <div class="mapsHomeKhuVuc">
     <div class="ct-dt">
        <div class="continent_countries">
            <div class="continent_left_map">
                <div id="map_canvas" style="width:490px; height:440px;"></div>
            </div>
            <div class="continent_right_countries">
                <h3>
                    <img src="http://r.bstatic.com/static/img/icon-country.png" alt="" width="16" height="16" />
                    Các quốc gia của khu vực @Model.chaulucMode.Name </h3>
                @{ int i = 1; int j = 1;}
                @if (Model.chaulucMode.listQG.Count() > 0)
                {
                    foreach (var item in Model.chaulucMode.listQG)
                    {
                        string Flags = item.alpha2 + ".png";
                        if (i == 1)
                        {
                            @: <ul>
                        }
                            
                            <li>
                                <img src="/Content/FlagAllCountry/png/@Flags" />
                                <a href="/vi-sa/khu-vuc-@nameurl.RemoveSign4VietnameseString(Model.Name)/quoc-gia-@nameurl.RemoveSign4VietnameseString(item.Name)/@Model.regioncode/@item.Id" rel="@item.Id" title="Quốc gia + @item.Name"> @item.Name</a>
                             </li>
                        
                        if (i % 10 == 0)
                        {
                            @: </ul>

                            if (j % 3 == 0)
                            {
                                <div class="clear" style="height:15px"></div>
                            }

                            j++;
                    
                            @: <ul>
                        }
                        i++;
                    }
                }
                </ul>
            </div>
            <div class="clear"></div>
            <h3>
                    <img src="http://r.bstatic.com/static/img/icon-country.png" alt="" width="16" height="16" />
                    Khu vực khác </h3>
            @Html.Action("GetAllChauLucKhac", "Visa", new { region = Model.regioncode })
            </div>
            <div style="height:20px; clear:both"></div>
         @Html.Action("TuvantrucTuyen", "News", null)
        <div class="rightBoxPage" style="margin: 10px">
            @Html.Action("_finduS", "Home", null)
        </div>
        </div>
    </div>
    <div class="listResgeditVisa">
        <div class="folderLeftMapsOnPageVisa">
            @Html.Action("FromVisa", "Visa", new { codechau = Model.regioncode, idQuocgia = Model.Id })
        </div>
         <div class="folderLeftMaps">
            <div class="folder-titleCenter">
                <div class="folder-activeleft fl">
                </div>
                <div class="folder-activevisa fl">
                    <a class="link-foldervisa" title="Tỷ giá" href="javascript:void(0)">Thông tin cần biết
                    </a>
                </div>
                <div class="folder-activeright fl">
                </div>
                <div class="subfolder fl">
                </div>
                <div class="folder-titleright fr">
                </div>
                <div class="fr" style="padding-top: 3px">
                </div>
            </div>
            <!-- home text -->
            <div class="folder-content">
                <div style="display: inline-block">
                    <div class="box-middle1 box-weather fl FromListThongtinCanbiet">
                        @Html.Action("LisstThongtinHuuich", "News", new { regioncode = Model.regioncode, id = Model.Id, Page = 1 })
                    </div>
                </div>
            </div>
            <!-- end home text -->
            <div class="folder-bottom">
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
</div>
